import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { PositionManagementComponent } from './position-management.component';
import { PositionManagementRoutes } from './position-management.routing';
import { PaginationModule } from '../shared/pagination/pagination.module';
import { MaterialModule } from '../app.module';
import { authHttpProvider } from '../interceptor/auth-http';
import { LeftSidebarService } from '../sidebar/left-sidebar-service';

@NgModule({
    imports: [
        CommonModule,
        RouterModule.forChild(PositionManagementRoutes),
        FormsModule,
        PaginationModule,
        MaterialModule
    ],
    declarations: [PositionManagementComponent],
    providers: [authHttpProvider(), {provide: LeftSidebarService, useClass: LeftSidebarService}]
})

export class PositionManagementModule {}
